<template>
  <VanSpace direction="vertical" fill>
    <!-- 用户登录表单: 用户名 -->
    <van-field v-model="myUserLoginStoreStore.usr" name="usr" label="" :placeholder="username" type='text' required
      :rules="[{ required: true, message: username }]" class="rounded-xl" maxlength="11" clearable />
    <!-- 用户登录表单: 用户密码 -->
    <VanField v-model="myUserLoginStoreStore.pwd" name="pwd" label="" :placeholder="password" type='text' required
      :rules="[{ required: true, message: password }]" class="rounded-xl" maxlength="11" clearable />
  </VanSpace>
</template>

<script lang="ts" setup>
const myUserLoginStoreStore = useMyUserLoginStoreStore()
const username: string = localesGetValueForKey("placeholder.username", "请输入用户名&用户手机号") as string;
const password: string = localesGetValueForKey("placeholder.password", "请输入用户密码") as string;
</script>
